﻿/**
 * @file ViewUserForm
 *
 * @brief 
 *
 * @author gyzheng
 *
 * @mail gyazheng@gmail.com
 *
 * @date 07/27/2011 22:37:51 
 *
 */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using CarFrameWork.Common;
using CarFrameWork.Model;

namespace CarFrameWork.UI.SystemManage.UserManage
{
    public partial class ViewUserForm : UserFormBase
    {
        public ViewUserForm(UserInfo user)
        {
            InitializeComponent();
            m_UserInfo = user;
        }

        private void ViewUserForm_Load(object sender, System.EventArgs e)
        {
            SetTitle("用户详细");
            SetUserToForm();
            this.txtDescript.ReadOnly = true;
            this.txtLoginName.ReadOnly = true;
            this.txtPassword.ReadOnly = true;
            this.txtuserId.ReadOnly = true;
            this.txtUserName.ReadOnly = true;
            this.cmbGroup.Enabled = false;
            this.cmbRole.Enabled = false;
        }
    }
}
